package TouristManagement;

/**
 * Interface definition : VisitManagement
 * 
 * @author OpenORB Compiler
 */
public class VisitManagementPOATie extends VisitManagementPOA
{

    //
    // Private reference to implementation object
    //
    private VisitManagementOperations _tie;

    //
    // Private reference to POA
    //
    private org.omg.PortableServer.POA _poa;

    /**
     * Constructor
     */
    public VisitManagementPOATie(VisitManagementOperations tieObject)
    {
        _tie = tieObject;
    }

    /**
     * Constructor
     */
    public VisitManagementPOATie(VisitManagementOperations tieObject, org.omg.PortableServer.POA poa)
    {
        _tie = tieObject;
        _poa = poa;
    }

    /**
     * Get the delegate
     */
    public VisitManagementOperations _delegate()
    {
        return _tie;
    }

    /**
     * Set the delegate
     */
    public void _delegate(VisitManagementOperations delegate_)
    {
        _tie = delegate_;
    }

    /**
     * _default_POA method
     */
    public org.omg.PortableServer.POA _default_POA()
    {
        if (_poa != null)
            return _poa;
        else
            return super._default_POA();
    }

    /**
     * Operation getIdSite
     */
    public short[] getIdSite()
    {
        return _tie.getIdSite();
    }

    /**
     * Operation createTourist
     */
    public short createTourist(String nomTourist, TouristManagement.DateV dateDeb, TouristManagement.DateV dateFin)
    {
        return _tie.createTourist( nomTourist,  dateDeb,  dateFin);
    }

    /**
     * Operation updateVisitEndHour
     */
    public boolean updateVisitEndHour(short idSite, short touristCardNumber)
    {
        return _tie.updateVisitEndHour( idSite,  touristCardNumber);
    }

    /**
     * Operation verifyVisit
     */
    public boolean verifyVisit(short idSite, short touristCardNumber)
    {
        return _tie.verifyVisit( idSite,  touristCardNumber);
    }

    /**
     * Operation getVisitingSite
     */
    public short getVisitingSite(short touristCardNumber)
    {
        return _tie.getVisitingSite( touristCardNumber);
    }

    /**
     * Operation getAdviceAverage
     */
    public TouristManagement.Advice getAdviceAverage(short idSite)
    {
        return _tie.getAdviceAverage( idSite);
    }

    /**
     * Operation addAdvice
     */
    public boolean addAdvice(short idSite, short touristCardNumber, TouristManagement.Advice theAdvice)
    {
        return _tie.addAdvice( idSite,  touristCardNumber,  theAdvice);
    }

    /**
     * Operation getdurationAverage
     */
    public short getdurationAverage(short idSite)
    {
        return _tie.getdurationAverage( idSite);
    }

    /**
     * Operation getdurationMax
     */
    public short getdurationMax(short idSite)
    {
        return _tie.getdurationMax( idSite);
    }

    /**
     * Operation getdurationMin
     */
    public short getdurationMin(short idSite)
    {
        return _tie.getdurationMin( idSite);
    }

    /**
     * Operation getHoraireOuverture
     */
    public TouristManagement.Hours getHoraireOuverture(short idSite)
    {
        return _tie.getHoraireOuverture( idSite);
    }

    /**
     * Operation getHoraireFermeture
     */
    public TouristManagement.Hours getHoraireFermeture(short idSite)
    {
        return _tie.getHoraireFermeture( idSite);
    }

    /**
     * Operation getNbVisiteurActuel
     */
    public short getNbVisiteurActuel(short idSite)
    {
        return _tie.getNbVisiteurActuel( idSite);
    }

    /**
     * Operation getNbVisiteurMaximal
     */
    public short getNbVisiteurMaximal(short idSite)
    {
        return _tie.getNbVisiteurMaximal( idSite);
    }

    /**
     * Operation getDateDebValid
     */
    public TouristManagement.DateV getDateDebValid(short touristCardNumber)
    {
        return _tie.getDateDebValid( touristCardNumber);
    }

    /**
     * Operation getDateFinValid
     */
    public TouristManagement.DateV getDateFinValid(short touristCardNumber)
    {
        return _tie.getDateFinValid( touristCardNumber);
    }

    /**
     * Operation getNomSite
     */
    public String getNomSite(short idSite)
    {
        return _tie.getNomSite( idSite);
    }

    /**
     * Operation getCoordsGPS
     */
    public TouristManagement.CoordsGPS getCoordsGPS(short idSite)
    {
        return _tie.getCoordsGPS( idSite);
    }

    /**
     * Operation addVisit
     */
    public boolean addVisit(short idSite, short touristCardNumber)
    {
        return _tie.addVisit( idSite,  touristCardNumber);
    }

    /**
     * Operation existTourist
     */
    public boolean existTourist(short touristCardNumber)
    {
        return _tie.existTourist( touristCardNumber);
    }

    /**
     * Operation getVisitSequence
     */
    public String getVisitSequence()
    {
        return _tie.getVisitSequence();
    }

    /**
     * Operation isVisitingSite
     */
    public boolean isVisitingSite(short touristCardNumber)
    {
        return _tie.isVisitingSite( touristCardNumber);
    }

    /**
     * Operation getAffluenceQuotidienne
     */
    public short getAffluenceQuotidienne(short idSite)
    {
        return _tie.getAffluenceQuotidienne( idSite);
    }

}
